package com.bys.admin.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.bys.config.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数据源配置
 * </p>
 *
 * @author bys
 * @since 2025-02-20
 */
@Getter
@Setter
@TableName("sys_data_resource")
@Builder
@Accessors(chain = true)
@Schema(name = "SysDataResource对象", description = "数据源配置")
public class SysDataResource extends BaseEntity {

    public static final Long ID_MASTER = 0L;


    @Schema(description = "数据源名称")
    private String name;

    @Schema(description = "数据源连接")
    private String url;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;


}
